package vip.zhenzicheng.kafka.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhenzicheng
 * @date 2022-09-28 09:30
 */
@Component
@ConfigurationProperties(prefix = "spring.kafka.topics")
@Data
// @EnableConfigurationProperties(KafkaTopicProperties.class)
public class KafkaTopicProperties {

  private String test1;
  private String myTest;
}
